package com.burial.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.burial.dto.SaveOrderDTO;
import com.burial.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.burial.entity.PageBean;

/**
 * <p>
 * 订单信息表 服务类
 * </p>
 *
 * @author burial
 * @since 2024-04-17
 */
public interface OrderService extends IService<Order> {
    // 修改订单状态
    void updateState(Long id, Integer state);
    // 分页查询
//    IPage<Order> pageQuery(Integer page, Integer limit);

    PageBean pageOrder(Integer page, Integer limit);

    boolean saveOrder(SaveOrderDTO orderinfo);
}
